//
//  BBTravelViewController.m
//  QuLuoMianApp
//
//  Created by Sierra on 2017/12/23.
//  Copyright © 2017年 科大讯飞. All rights reserved.
//

#import "BBTravelViewController.h"

#import "PictureCategoryViewController.h"
#import "CarmerCircleViewController.h"
#import "MineCollectViewController.h"

@interface BBTravelViewController ()

@end

@implementation BBTravelViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


- (IBAction)didTapBtnClick:(UIButton *)sender {
    
    switch (sender.tag) {
        case 10:
        {
            PictureCategoryViewController * vc = [PictureCategoryViewController new];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 20:
        {
            CarmerCircleViewController * vc = [CarmerCircleViewController new];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 30:
        {
            MineCollectViewController * vc = [MineCollectViewController new];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
            
        default:
            break;
    }
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
